package com.ten.common.core.entity;

import java.io.Serializable;
import java.time.LocalDateTime;

import com.baomidou.mybatisplus.annotation.*;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
/**
 * (Course)实体类
 *
 * @author makejava
 * @since 2022-12-26 14:51:33
 */
@Data
@TableName(value = "edu_course_collect")
public class EduCourseCollect implements Serializable {
    private static final long serialVersionUID = -93546492697840208L;

    @TableId
    private String id;
    /**
     * 会员id
     */
    private String memberId;
    /**
     * 课程id
     */
    private String courseId;
    /**
     * 逻辑收藏，0收藏, 1未收藏 ，
     */
    private Integer isDeleted;
    /**
     * 创建时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    @TableField(fill = FieldFill.INSERT)
    private LocalDateTime gmtCreate;
    /**
     * 修改时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    @TableField(fill = FieldFill.INSERT_UPDATE)
    private LocalDateTime gmtModified;

}

